package com.sangu.dianxiu.bean.repairtype;

import java.io.Serializable;
import java.util.List;

/**
 * 维修类别类
 * Created by sg2 on 2016/1/5.
 */
public class RepairTypeEntity implements Serializable{

    /**
     * rc : 0
     * cates : [{"id":1,"name":"空调维修","imgUrl":""},{"id":2,"name":"洗衣机维修","imgUrl":""},{"id":3,"name":"电视维修","imgUrl":""}]
     */

    private int rc;
    /**
     * id : 1
     * name : 空调维修
     * imgUrl :
     */

    private List<CatesEntity> cates;

    public void setRc(int rc) {
        this.rc = rc;
    }

    public void setCates(List<CatesEntity> cates) {
        this.cates = cates;
    }

    public int getRc() {
        return rc;
    }

    public List<CatesEntity> getCates() {
        return cates;
    }

    public static class CatesEntity {
        private int id;
        private String name;
        private String imgUrl;

        public void setId(int id) {
            this.id = id;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void setImgUrl(String imgUrl) {
            this.imgUrl = imgUrl;
        }

        public int getId() {
            return id;
        }

        public String getName() {
            return name;
        }

        public String getImgUrl() {
            return imgUrl;
        }
    }
}
